package perso.perso.view.admin.school;

import perso.perso.MyAction;
import perso.perso.wsclient.HttpMiddlewareSchoolWSCall;

public class DisplaySchoolAdminAction extends MyAction{

	private static final long serialVersionUID = 1L;
	
	@Override
	public String execute() throws Exception {
		
	
		HttpMiddlewareSchoolWSCall h = new HttpMiddlewareSchoolWSCall();
		
		this.httpServletRequest.setAttribute("listSchools", h.getAllSchools());
		
		return SUCCESS;
	}
}
